package cn.edu.zjgsu.ito.dao;

import cn.edu.zjgsu.ito.model.Vouchers;
import cn.edu.zjgsu.ito.model.VouchersExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VouchersMapper {
    int countByExample(VouchersExample example);

    int deleteByExample(VouchersExample example);

    int deleteByPrimaryKey(Integer vouchersId);

    int insert(Vouchers record);

    int insertSelective(Vouchers record);

    List<Vouchers> selectByExample(VouchersExample example);

    Vouchers selectByPrimaryKey(Integer vouchersId);

    int updateByExampleSelective(@Param("record") Vouchers record, @Param("example") VouchersExample example);

    int updateByExample(@Param("record") Vouchers record, @Param("example") VouchersExample example);

    int updateByPrimaryKeySelective(Vouchers record);

    int updateByPrimaryKey(Vouchers record);
}